package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 检查化验单
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2024-06-21 14:50:30
 */
@TableName("jianchahuayandan")
public class JianchahuayandanEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public JianchahuayandanEntity() {
		
	}
	
	public JianchahuayandanEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
    @TableId(type = IdType.AUTO)
	private Long id;
	/**
	 * 化验编号
	 */
					
	private String huayanbianhao;
	
	/**
	 * 化验项目
	 */
					
	private String huayanxiangmu;
	
	/**
	 * 图片
	 */
					
	private String tupian;
	
	/**
	 * 用户名
	 */
					
	private String yonghuming;
	
	/**
	 * 姓名
	 */
					
	private String xingming;
	
	/**
	 * 化验报名
	 */
					
	private String huayanbaoming;
	
	/**
	 * 化验时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date huayanshijian;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：化验编号
	 */
	public void setHuayanbianhao(String huayanbianhao) {
		this.huayanbianhao = huayanbianhao;
	}
	/**
	 * 获取：化验编号
	 */
	public String getHuayanbianhao() {
		return huayanbianhao;
	}
	/**
	 * 设置：化验项目
	 */
	public void setHuayanxiangmu(String huayanxiangmu) {
		this.huayanxiangmu = huayanxiangmu;
	}
	/**
	 * 获取：化验项目
	 */
	public String getHuayanxiangmu() {
		return huayanxiangmu;
	}
	/**
	 * 设置：图片
	 */
	public void setTupian(String tupian) {
		this.tupian = tupian;
	}
	/**
	 * 获取：图片
	 */
	public String getTupian() {
		return tupian;
	}
	/**
	 * 设置：用户名
	 */
	public void setYonghuming(String yonghuming) {
		this.yonghuming = yonghuming;
	}
	/**
	 * 获取：用户名
	 */
	public String getYonghuming() {
		return yonghuming;
	}
	/**
	 * 设置：姓名
	 */
	public void setXingming(String xingming) {
		this.xingming = xingming;
	}
	/**
	 * 获取：姓名
	 */
	public String getXingming() {
		return xingming;
	}
	/**
	 * 设置：化验报名
	 */
	public void setHuayanbaoming(String huayanbaoming) {
		this.huayanbaoming = huayanbaoming;
	}
	/**
	 * 获取：化验报名
	 */
	public String getHuayanbaoming() {
		return huayanbaoming;
	}
	/**
	 * 设置：化验时间
	 */
	public void setHuayanshijian(Date huayanshijian) {
		this.huayanshijian = huayanshijian;
	}
	/**
	 * 获取：化验时间
	 */
	public Date getHuayanshijian() {
		return huayanshijian;
	}

}
